<?php
$this->title = "Create Order";
$this->headTitle($this->title);
echo $this->form; 
?>

<h2>Customer:</h2>
<table>
<tr>
	<th>Product No</th>
	<th>Name</th>
	<th>Description</th>
	<th>Price</th>
	<th>Quantity</th>
	<th>
</tr>
<?php foreach($this->customers as $customer) : ?>
<tr>
	<td><a href="<?php echo $this->url(array('controller'=>'customer', 'action'=>'edit', 'cust_no'=>$customer->cust_no), null, true); ?>"><?php echo $this->escape($customer->cust_no); ?></a></td>
	<td><?php echo $this->escape($customer->cust_first_name); ?></td>
	<td><?php echo $this->escape($customer->cust_last_name); ?></td>
	<td><?php echo $this->escape($customer->cust_suburb); ?></td>
	<td><?php echo $this->escape($customer->cust_post_code); ?></td>
	<td><?php echo $this->escape($customer->cust_home_phone); ?></td>
	<td><?php echo $this->escape($customer->cust_work_phone); ?></td>
	<td><?php echo $this->escape($customer->cust_mobile_phone); ?></td>
</tr>
<?php endforeach;?>
</table>